<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>公司管理</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link href="../css/commen.css" rel="stylesheet" type="text/css" />

    <script src="../../../scripts/boot.js" type="text/javascript"></script>
    <script src="../js/ColumnsMenu.js" type="text/javascript"></script>
</head>
<body>
    <!--布局盒子-->
    <div class="mini-splitter" style="width:100%;height:100%;">
        <!--左侧树结构盒子-->
        <div size="240" showCollapseButton="true">
            <div class="mini-toolbar" style="padding:2px;border-top:0;border-left:0;border-right:0;">
                <!--<span style="padding-left:5px;">名称：</span>-->
                <!--<input class="mini-textbox" style="width:100px;"/>-->
                <a class="mini-button" iconCls="icon-reload" onclick="treeRefresh()">刷新</a>
            </div>
            <div class="mini-fit">
                <ul id="tree1" class="mini-tree" style="width:100%;"
                    showTreeIcon="true" textField="text" idField="id" parentField="pid" resultAsTree="false">
                </ul>
            </div>
        </div>
        <!-- 右边内容 -->
        <div showCollapseButton="true">
            <!--按钮栏-->
            <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
                <table style="width:100%;">
                    <tr>
                        <td style="width:100%;">
                            <a class="mini-button" iconCls="icon-add" onclick="add()">增加</a>
                            <a class="mini-button" iconCls="icon-edit" onclick="edit()">编辑</a>
                            <a class="mini-button" iconCls="icon-remove" onclick="remove()">删除</a>
                        </td>
                        <!--<td style="white-space:nowrap;">-->
                            <!--<input id="key" class="mini-textbox" emptyText="请输入公司名称" style="width:150px;" onenter="onKeyEnter"/>-->
                            <!--<a class="mini-button" onclick="search()">查询</a>-->
                        <!--</td>-->
                    </tr>
                </table>
            </div>
            <!--数据表-->
            <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" idField="companyId" multiSelect="false">
                <div property="columns">
                    <!--<div type="indexcolumn"></div>        -->
                    <div type="checkcolumn" ></div>
                    <!--<div field="userId" width="120" headerAlign="center" allowSort="true">员工Id</div>-->
                    <div field="companyCode" width="120" headerAlign="center" align="center" allowSort="true">公司编码</div>
                    <div field="companyName" width="120" headerAlign="center" align="center" allowSort="true">公司名称</div>
                    <div field="LogoUrl" width="120" headerAlign="center" align="center" allowSort="true">LOGO</div>
                    <div field="companyDesc" width="120" headerAlign="center" align="center" allowSort="true">公司简介</div>
                    <div header="基本信息">
                        <div property="columns">
                            <div field="adreess" width="100" headerAlign="center" align="center">地址</div>
                            <div field="telephone" width="100" headerAlign="center" align="center" allowSort="true">联系电话</div>
                            <div field="email" width="100" headerAlign="center" align="center">邮箱</div>
                            <div field="groups.groupName" width="100" headerAlign="center" align="center">所属集团</div>
                            <div field="groups.groupId" width="100" headerAlign="center" align="center" visible="false">所属集团ID</div>
                            <div field="groups.groupCode" width="100" headerAlign="center" align="center" visible="false">所属集团编码</div>
                            <div field="createDate" width="100" headerAlign="center" align="center" dateFormat="yyyy-MM-dd" allowSort="true">创建日期</div>
                            <div field="updateDate" width="100" headerAlign="center" align="center" dateFormat="yyyy-MM-dd" allowSort="true">修改日期</div>
                            <!--<div field="Group_code" width="100" align="center" renderer="onMarriedRenderer">所属集团</div>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <script src="../js/companyRun.js"></script>
</body>
</html>